<!DOCTYPE html>

<html class="app-ui">

	<head>
		<!-- Meta -->
		<meta charset="UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />

		<!-- Document title -->
		<title>教师信息新增或修改</title>

		<meta name="description" content="AppUI - Admin Dashboard Template & UI Framework" />
		<meta name="author" content="rustheme" />
		<meta name="robots" content="noindex, nofollow" />

		<!-- Favicons -->
		<link rel="apple-touch-icon" href="assets/img/favicons/apple-touch-icon.png" />
		<link rel="icon" href="assets/img/favicons/favicon.ico" />

		<!-- Google fonts -->
		<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:300,400,400italic,500,900%7CRoboto+Slab:300,400%7CRoboto+Mono:400" />

		<!-- AppUI CSS stylesheets -->
		<link rel="stylesheet" id="css-font-awesome" href="assets/css/font-awesome.css" />
		<link rel="stylesheet" id="css-ionicons" href="assets/css/ionicons.css" />
		<link rel="stylesheet" id="css-bootstrap" href="assets/css/bootstrap.css" />
		<link rel="stylesheet" id="css-app" href="assets/css/app.css" />
		<link rel="stylesheet" id="css-app-custom" href="assets/css/app-custom.css" />
		<!-- End Stylesheets -->
	</head>

	<body class="app-ui layout-has-drawer layout-has-fixed-header">
		<script type="text/javascript" src="assets/js/jquery.min.js"></script>
		<script type="text/javascript" src="assets/js/address.js"></script>
		<script type="text/javascript">
			$(function() {
				//判断是否在前面加0
				function getNow(s) {
					return s < 10 ? '0' + s : s;
				}

				var myDate = new Date();
				var year = myDate.getFullYear(); //获取当前年
				var month = myDate.getMonth() + 1; //获取当前月
				var date = myDate.getDate(); //获取当前日

				var addTime = year + '-' + getNow(month) + "-" + getNow(date);

				var userconterurl = "http://localhost:6200/";
				var token = sessionStorage.getItem("token");
				var addUserId = 2 /* sessionStorage.getItem("accId") */ ;
				var teaId = sessionStorage.getItem("teaId");
				var schId = "1" /* sessionStorage.getItem("schId") */ ;
				var schNm = "南昌一中" /* sessionStorage.getItem("schNm") */ ;
				var insert = sessionStorage.getItem("insert");
				alert(insert);
				alert(teaId)
				// sessionStorage.removeItem("insert");

				if (insert == null || insert == "") {
					selectTeacher(); //修改前数据回显
					/* sessionStorage.removeItem("insert");
					alert(insert); */
					$("#updateTeacher").attr("style", "display:hidden");
				} else {
					$("#insertTeacher").attr("style", "display:hidden");
				}

				
				function selectTeacher() {

					$.ajax({
						headers: {
							"token": token
						},
						type: "get",
						//data:{_method:put},
						//数据，json字符串,规定连同请求发送到服务器的数据
						data: {
							teaId: teaId
						},
						url: userconterurl + "teacherManage/selectTeacherByTeaId",
						contentType: "application/x-www-form-urlencoded",
						success: function(data) {
							if (data.code == 1001) {
								data = data.uTeacher;
								//alert(data.schState);
								$("#teaNm").val(data.teaNm);
								$("#teaNo").val(data.teaNo);
								$("#teaEmail").val(data.teaEmail);
								$("#teaMobile").val(data.teaMobile);
								$("#teaSex").val(data.teaSex);
								$("#teaBirthday").val(data.teaBirthday);
								$("#teaAddress").val(data.teaAddress);
								$("#teaFromDate").val(data.teaFromDate);
								$("#teaIdentity").val(data.teaIdentity);
								$("#teaSchAddress").val(data.teaSchAddress);
								$("#teaWechat").val(data.teaWechat);
								$("#teaQq").val(data.teaQq);
								$("#teaFlag").val(data.teaFlag);
								$("#teaPosition").val(data.teaPosition);
								$("#teaProfessional").val(data.teaProfessional);
								$("#teaEducational").val(data.teaEducational);
								$("#teaIntroduction").val(data.teaIntroduction);
								$("#teaPoliticsStatus").val(data.teaPoliticsStatus);
								$("#teaMajorSubId").val(data.teaMajorSubId);
								$("#isMajorSubManager").val(data.isMajorSubManager);
								$("#teaSubId2").val(data.teaSubId2);
								$("#isSubManager2").val(data.isSubManager2);
								$("#teaSubId3").val(data.teaSubId3);
								$("#isSubManager3").val(data.isSubManager3);
								//alert($("#schState").find("option:selected").val() );												
							}
						},
						//请求失败，包含具体的错误信息
						error: function(e) {
							alert(":)")
						}
					});
				};

				$("#updateTeacher").click(function() {
					alert("修改");
					$.ajax({
						headers: {
							"token": token
						},
						type: "put",
						//data:{_method:put},
						//数据，json字符串,规定连同请求发送到服务器的数据
						data: {
							teaId:teaId,
							teaNm: $("#teaNm").val(),
							teaNo: $("#teaNo").val(),
							teaEmail: $("#teaEmail").val(),
							teaMobile: $("#teaMobile").val(),
							teaSex: $("#teaSex").val(),
							teaBirthday: $("#teaBirthday").val(),
							teaAddress: $("#teaAddress").val(),
							teaIdentity: $("#teaIdentity").val(),
							teaSchAddress: $("#teaSchAddress").val(),
							teaFromDate: $("#teaFromDate").val(),
							schId: schId,
							schNm: schNm,
							teaWechat: $("#teaWechat").val(),
							teaQq: $("#teaQq").val(),
							teaFlag: $("#teaFlag").val(),
							teaPosition: $("#teaPosition").val(),
							teaProfessional: $("#teaProfessional").val(),
							teaEducational: $("#teaEducational").val(),
							teaIntroduction: $("#teaIntroduction").val(),
							teaPoliticsStatus: $("#teaPoliticsStatus").val(),
							teaMajorSubId: $("#teaMajorSubId").val(),
							teaMajorSubNm: $("#teaMajorSubId option:selected").text(),
							isMajorSubManager: $("#isMajorSubManager").val(),
							teaSubId2: $("#teaSubId2").val(),
							teaSubNm2: $("#teaSubId2 option:selected").text(),
							isSubManager2: $("#isSubManager2").val(),
							teaSubId3: $("#teaSubId3").val(),
							teaSubNm3: $("#teaSubId3 option:selected").text(),
							isSubManager3: $("#isSubManager3").val(),
							addTime: addTime,
							addUserId: addUserId
						},
						url: userconterurl + "teacherManage/updateTeacher",
						contentType: "application/x-www-form-urlencoded",
						success: function(data) {
							if (data.code == 1001) {
								alert("修改成功");
								window.location.href = "teaManager.html";
							}
						},
						//请求失败，包含具体的错误信息
						error: function(e) {
							alert(":)")
						}
					});
					return false;
				});




				//新增
				$("#insertTeacher").click(function() {
					$.ajax({
						headers: {
							"token": token
						},
						type: "post",
						//data:{_method:put},
						//数据，json字符串,规定连同请求发送到服务器的数据
						data: {
							teaNm: $("#teaNm").val(),
							teaNo: $("#teaNo").val(),
							teaEmail: $("#teaEmail").val(),
							teaMobile: $("#teaMobile").val(),
							teaSex: $("#teaSex").val(),
							teaBirthday: $("#teaBirthday").val(),
							teaAddress: $("#teaAddress").val(),
							teaIdentity: $("#teaIdentity").val(),
							teaSchAddress: $("#teaSchAddress").val(),
							teaFromDate: $("#teaFromDate").val(),
							schId: schId,
							schNm: schNm,
							teaWechat: $("#teaWechat").val(),
							teaQq: $("#teaQq").val(),
							teaFlag: $("#teaFlag").val(),
							teaPosition: $("#teaPosition").val(),
							teaProfessional: $("#teaProfessional").val(),
							teaEducational: $("#teaEducational").val(),
							teaIntroduction: $("#teaIntroduction").val(),
							teaPoliticsStatus: $("#teaPoliticsStatus").val(),
							teaMajorSubId: $("#teaMajorSubId").val(),
							teaMajorSubNm: $("#teaMajorSubId  option:selected").text(),

							isMajorSubManager: $("#isMajorSubManager").val(),
							teaSubId2: $("#teaSubId2").val(),
							teaSubNm2: $("#teaSubId2 option:selected").text(),
							isSubManager2: $("#isSubManager2").val(),
							teaSubId3: $("#teaSubId3").val(),
							teaSubNm3: $("#teaSubId3 option:selected").text(),
							isSubManager3: $("#isSubManager3").val(),
							addTime: addTime,
							addUserId: addUserId
						},
						url: userconterurl + "teacherManage/insertTeacher",
						contentType: "application/x-www-form-urlencoded",
						success: function(data) {
							if (data.code == 1001) {
								alert("新增成功");
								window.location.href = "teaManager.html";
							}
						},
						//请求失败，包含具体的错误信息
						error: function(e) {
							alert(":)")
						}
					});


				});


			})
		</script>


		<div class="app-layout-canvas">
			<div class="app-layout-container">

				<!-- Drawer -->
				<aside class="app-layout-drawer">

					<!-- Drawer scroll area -->
					<div class="app-layout-drawer-scroll">
						<!-- Drawer logo -->
						<div id="logo" class="drawer-header">
							<a href="index.html">
								<h4 style=" text-align:center">云阅卷</h4>
							</a>
						</div>

						<!-- Drawer navigation -->
						<nav class="drawer-main">
							<ul class="nav nav-drawer">


								<li class="nav-item nav-drawer-header">菜单导航</li>

								<li class="nav-item nav-item-has-subnav">
									<a href="javascript:void(0)"><i class="ion-ios-calculator-outline"></i>考试管理</a>
									<ul class="nav nav-subnav">

										<li>
											<a href="examList.html">考试列表</a>
										</li>

										<li>
											<a href="createExam.html">创建考试</a>
										</li>
									</ul>
								</li>

								<li class="nav-item nav-item-has-subnav">
									<a href="javascript:void(0)"><i class="ion-ios-compose-outline"></i> 在线阅卷</a>
									<ul class="nav nav-subnav">

										<li>
											<a href="examSetting.html">阅卷设置</a>
										</li>

										<li>
											<a href="examPapers.html">我要阅卷</a>
										</li>

										<li>
											<a href="examProblemPapers.html">问题卷处理</a>
										</li>
										<li>
											<a href="examProgress.html">进度监控</a>
										</li>

										<li>
											<a href="examQuality.html">质量抽查</a>
										</li>

									</ul>
								</li>


								<li class="nav-item nav-item-has-subnav">
									<a href="javascript:void(0)"><i class="ion-ios-list-outline"></i> 成绩管理</a>
									<ul class="nav nav-subnav">

										<li>
											<a href="examReport.html">考试成绩单</a>
										</li>

										<li>
											<a href="examSubReport.html">单科试题得分表</a>
										</li>

										<li>
											<a href="gradeAnalyze.html">年纪成绩分析</a>
										</li>

										<li>
											<a href="classAnalyze.html">班级成绩分析</a>
										</li>

									</ul>
								</li>

								<li class="nav-item nav-item-has-subnav">
									<a href="javascript:void(0)"><i class="ion-ios-browsers-outline"></i> 教师讲卷</a>
									<ul class="nav nav-subnav">

										<li>
											<a href="scoreAndPapers.html">成绩与答卷</a>
										</li>

										<li>
											<a href="highScoreComposition.html">高分作文</a>
										</li>

										<li>
											<a href="topicScore.html">试题得分情况</a>
										</li>

										<li>
											<a href="subAnalyzeReport.html">学科分析报表</a>
										</li>
									</ul>
								</li>

								<li class="nav-item nav-item-has-subnav">
									<a href="javascript:void(0)"><i class="ion-social-javascript-outline"></i> 用户中心</a>
									<ul class="nav nav-subnav">

										<li>
											<a href="schoolManager.html">学校管理</a>
										</li>

										<li>
											<a href="subManager.html">学科管理</a>
										</li>

										<li>
											<a href="gradeManager.html">年级管理</a>
										</li>

										<li>
											<a href="gradeAndSubManager.html">年级与学科关系维护</a>
										</li>

										<li>
											<a href="teaManager.html">教师管理</a>
										</li>

										<li>
											<a href="classManager.html">班级管理</a>
										</li>

										<li>
											<a href="stuManager.html">学生管理</a>
										</li>

										<li>
											<a href="subAdnClassAnager.html">学科与班级关系维护</a>
										</li>
									</ul>
								</li>

							</ul>
						</nav>
						<!-- End drawer navigation -->

						<div class="drawer-footer">
							<p class="copyright">Copyright &copy; 2020.北京万邦易嵌科技有限公司.<a target="_blank" href="http://www.wanbangee.com">万邦易嵌</a></p>
						</div>
					</div>
					<!-- End drawer scroll area -->
				</aside>
				<!-- End drawer -->

				<!-- Header -->
				<header class="app-layout-header">
					<nav class="navbar navbar-default">
						<div class="container-fluid">
							<div class="navbar-header">
								<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#header-navbar-collapse"
								 aria-expanded="false">
									<span class="sr-only">Toggle navigation</span>
									<span class="icon-bar"></span>
									<span class="icon-bar"></span>
									<span class="icon-bar"></span>
								</button>
								<button class="pull-left hidden-lg hidden-md navbar-toggle" type="button" data-toggle="layout" data-action="sidebar_toggle">
									<span class="sr-only">Toggle drawer</span>
									<span class="icon-bar"></span>
									<span class="icon-bar"></span>
									<span class="icon-bar"></span>
								</button>
								<span class="navbar-page-title">

									Forms &ndash; Elements
								</span>
							</div>

							<div class="collapse navbar-collapse" id="header-navbar-collapse">
								<!-- Header search form -->
								<form class="navbar-form navbar-left app-search-form" role="search">
									<div class="form-group">
										<div class="input-group">
											<input class="form-control" type="search" id="search-input" placeholder="Search..." />
											<span class="input-group-btn">
												<button class="btn" type="button"><i class="ion-ios-search-strong"></i></button>
											</span>
										</div>
									</div>
								</form>

								<ul id="main-menu" class="nav navbar-nav navbar-left">
									<li class="dropdown">
										<a href="#" data-toggle="dropdown">English <span class="caret"></span></a>

										<ul class="dropdown-menu">
											<li><a href="javascript:void(0)">French</a></li>
											<li><a href="javascript:void(0)">German</a></li>
											<li><a href="javascript:void(0)">Italian</a></li>
										</ul>
									</li>
									<li class="dropdown">
										<a href="#" data-toggle="dropdown">Pages <span class="caret"></span></a>

										<ul class="dropdown-menu">
											<li><a href="javascript:void(0)">Analytics</a></li>
											<li><a href="javascript:void(0)">Visits</a></li>
											<li><a href="javascript:void(0)">Changelog</a></li>
										</ul>
									</li>
								</ul>
								<!-- .navbar-left -->

								<ul class="nav navbar-nav navbar-right navbar-toolbar hidden-sm hidden-xs">
									<li>
										<!-- Opens the modal found at the bottom of the page -->
										<a href="javascript:void(0)" data-toggle="modal" data-target="#apps-modal"><i class="ion-grid"></i></a>
									</li>

									<li class="dropdown">
										<a href="javascript:void(0)" data-toggle="dropdown"><i class="ion-ios-bell"></i> <span class="badge">3</span></a>
										<ul class="dropdown-menu dropdown-menu-right">
											<li class="dropdown-header">Profile</li>
											<li>
												<a tabindex="-1" href="javascript:void(0)"><span class="badge pull-right">3</span> News </a>
											</li>
											<li>
												<a tabindex="-1" href="javascript:void(0)"><span class="badge pull-right">1</span> Messages </a>
											</li>
											<li class="divider"></li>
											<li class="dropdown-header">More</li>
											<li>
												<a tabindex="-1" href="javascript:void(0)">Edit Profile..</a>
											</li>
										</ul>
									</li>

									<li class="dropdown dropdown-profile">
										<a href="javascript:void(0)" data-toggle="dropdown">
											<span class="m-r-sm">John Doe <span class="caret"></span></span>
											<img class="img-avatar img-avatar-48" src="assets/img/avatars/avatar3.jpg" alt="User profile pic" />
										</a>
										<ul class="dropdown-menu dropdown-menu-right">
											<li class="dropdown-header">
												Pages
											</li>
											<li>
												<a href="base_pages_profile.html">Profile</a>
											</li>
											<li>
												<a href="base_pages_profile.html"><span class="badge badge-success pull-right">3</span> Blog</a>
											</li>
											<li>
												<a href="frontend_login_signup.html">Logout</a>
											</li>
										</ul>
									</li>
								</ul>
								<!-- .navbar-right -->
							</div>
						</div>
						<!-- .container-fluid -->
					</nav>
					<!-- .navbar-default -->
				</header>
				<!-- End header -->

				<main class="app-layout-content">

					<!-- Page Content -->

					<!-- Material Design -->
					<h2 class="section-title">Material Design style</h2>
					<div class="row">
						<div class="col-md-6">
							<!-- Static Labels -->
							<div class="card">
								<div class="card-header">
									<h4>请添加老师信息</h4>
									<ul class="card-actions">
										<li>
											<button type="button"><i class="ion-more"></i></button>
										</li>
									</ul>
								</div>
								<div class="card-block">
									<form class="form-horizontal m-t-sm" action="base_forms_elements_modern.html" method="post" onsubmit="return false;">
										<div class="form-group">
											<div class="col-sm-9">
												<div class="form-material">
													<input class="form-control" type="text" id="teaNm" name="teaNm" placeholder="教师姓名" />
													<label for="material-text">教师姓名</label>
												</div>
											</div>
										</div>
										<div class="form-group">
											<div class="col-sm-9">
												<div class="form-material">
													<input class="form-control" type="text" id="teaNo" name="teaNo" placeholder="职工号" />
													<label for="material-text" />职工号</label>
												</div>
											</div>
										</div>
										<div class="form-group">
											<div class="col-xs-12">
												<div class="form-material">
													<input class="form-control" type="email" id="teaEmail" name="teaEmail" placeholder="邮箱">
													<label for="material-email">邮箱</label>
												</div>
											</div>
										</div>
										<div class="form-group">
											<div class="col-sm-9">
												<div class="form-material">
													<input class="form-control" type="text" id="teaMobile" name="teaMobile" placeholder="手机号" />
													<label for="material-text" />手机号</label>
												</div>
											</div>
										</div>

										<div class="form-group">
											<div class="col-sm-9">
												<div class="form-material">
													<select class="form-control" id="teaSex" name="teaSex" size="1">
														<option value="null">请选择</option>
														<option value="0">女</option>
														<option value="1">男</option>
													</select>
													<label for="material-select">性别</label>
												</div>
											</div>
										</div>

										<div class="form-group">
											<div class="col-sm-9">
												<div class="form-material">
													<input class="form-control" type="date" id="teaBirthday" name="teaBirthday" placeholder="生日" />
													<label for="material-text" />生日</label>
												</div>
											</div>
										</div>

										<div class="form-group">
											<div class="col-sm-9">
												<div class="form-material">
													<input class="form-control" type="text" id="teaAddress" name="teaAdress" placeholder="地址" />
													<label for="material-text" />地址</label>
												</div>
											</div>
										</div>
										<div class="form-group">
											<div class="col-sm-9">
												<div class="form-material">
													<input class="form-control" type="text" id="teaIdentity" name="teaIdentity" placeholder="身份证" />
													<label for="material-text" />身份证</label>
												</div>
											</div>
										</div>

										<div class="form-group">
											<div class="col-sm-9">
												<div class="form-material">
													<input class="form-control" type="text" id="teaSchAddress" name="teaSchAddress" placeholder="学校地址" />
													<label for="material-text" />学校地址</label>
												</div>
											</div>
										</div>

										<div class="form-group">
											<div class="col-sm-9">
												<div class="form-material">
													<input class="form-control" type="date" id="teaFromDate" name="teaFromDate" placeholder="从教日期" />
													<label for="material-text" />从教日期</label>
												</div>
											</div>
										</div>

										<div class="form-group">
											<div class="col-sm-9">
												<div class="form-material">
													<input class="form-control" type="text" id="teaWechat" name="teaWechat" placeholder="微信" />
													<label for="material-text" />微信</label>
												</div>
											</div>
										</div>

										<div class="form-group">
											<div class="col-sm-9">
												<div class="form-material">
													<input class="form-control" type="text" id="teaQq" name="teaQq" placeholder="QQ" />
													<label for="material-text" />QQ</label>
												</div>
											</div>
										</div>

										<div class="form-group">
											<div class="col-sm-9">
												<div class="form-material">
													<select class="form-control" id="teaFlag" name="teaFlag" size="1">
														<option value="null">请选择</option>
														<option value="0">普通</option>
														<option value="1">班主任</option>
													</select>
													<label for="material-select">老师标识</label>
												</div>
											</div>
										</div>

										<div class="form-group">
											<div class="col-sm-9">
												<div class="form-material">
													<input class="form-control" type="text" id="teaPosition" name="teaPosition" placeholder="职位" />
													<label for="material-text" />职位</label>
												</div>
											</div>
										</div>

										<div class="form-group">
											<div class="col-sm-9">
												<div class="form-material">
													<input class="form-control" type="text" id="teaProfessional" name="teaProfessional" placeholder="职称" />
													<label for="material-text" />职称</label>
												</div>
											</div>
										</div>

										<div class="form-group">
											<div class="col-sm-9">
												<div class="form-material">
													<input class="form-control" type="text" id="teaEducational" name="teaEducational" placeholder="学历" />
													<label for="material-text" />学历</label>
												</div>
											</div>
										</div>

										<div class="form-group">
											<div class="col-sm-9">
												<div class="form-material">
													<input class="form-control" type="text" id="teaPoliticsStatus" name="teaPoliticsStatus" placeholder="政治面貌" />
													<label for="material-text" />政治面貌</label>
												</div>
											</div>
										</div>

										<div class="form-group">
											<div class="col-sm-9">
												<div class="form-material">
													<select class="form-control" id="teaMajorSubId" name="teaMajorSubId" size="1">
														<option value="null">请选择</option>
														<option value="1">语文</option>
														<option value="2">数学</option>
														<option value="3">英语</option>
														<option value="4">政治</option>
														<option value="5">地理</option>
														<option value="6">生物</option>
														<option value="7">历史</option>
														<option value="8">物理</option>
														<option value="9">化学</option>
													</select>
													<label for="material-select">主要任教科目名称</label>
												</div>
											</div>
										</div>

										<div class="form-group">
											<div class="col-sm-9">
												<div class="form-material">
													<select class="form-control" id="isMajorSubManager" name="isMajorSubManager" size="1">
														<option value="null">请选择</option>
														<option value="0">不是</option>
														<option value="1">是</option>
													</select>
													<label for="material-select">是否是主要任教科目负责人</label>
												</div>
											</div>
										</div>

										<div class="form-group">
											<div class="col-sm-9">
												<div class="form-material">
													<select class="form-control" id="teaSubId2" name="teaSubId2" size="1">
														<option value="null">请选择</option>
														<option value="1">语文</option>
														<option value="2">数学</option>
														<option value="3">英语</option>
														<option value="4">政治</option>
														<option value="5">地理</option>
														<option value="6">生物</option>
														<option value="7">历史</option>
														<option value="8">物理</option>
														<option value="9">化学</option>
													</select>
													<label for="material-select">任教科目2</label>
												</div>
											</div>
										</div>

										<div class="form-group">
											<div class="col-sm-9">
												<div class="form-material">
													<select class="form-control" id="isSubManager2" name="isSubManager2" size="1">
														<option value="null">请选择</option>
														<option value="0">不是</option>
														<option value="1">是</option>
													</select>
													<label for="material-select">是否任教科目2负责人</label>
												</div>
											</div>
										</div>

										<div class="form-group">
											<div class="col-sm-9">
												<div class="form-material">
													<select class="form-control" id="teaSubId3" name="teaSubId3" size="1">
														<option value="null">请选择</option>
														<option value="1">语文</option>
														<option value="2">数学</option>
														<option value="3">英语</option>
														<option value="4">政治</option>
														<option value="5">地理</option>
														<option value="6">生物</option>
														<option value="7">历史</option>
														<option value="8">物理</option>
														<option value="9">化学</option>
													</select>
													<label for="material-select">任教科目3</label>
												</div>
											</div>
										</div>

										<div class="form-group">
											<div class="col-sm-9">
												<div class="form-material">
													<select class="form-control" id="isSubManager3" name="isSubManager3" size="1">
														<option value="null">请选择</option>
														<option value="0">不是</option>
														<option value="1">是</option>
													</select>
													<label for="material-select">是否任教科目3负责人</label>
												</div>
											</div>
										</div>
										<div class="form-group m-b-0">
											<div class="col-xs-12">
												<button id="updateTeacher" class="btn btn-app" type="submit" style="display:none;">修改</button>
												<button id="insertTeacher" class="btn btn-app" type="submit" style="display:none;">新增</button>
												<button style="margin-left:160px;" class="btn btn-app" type="reset">重置</button>
											</div>
										</div>
									</form>
								</div>
								<!-- .card-block -->
							</div>
							<!-- .card -->
							<!-- End Static Labels -->
						</div>
						<!-- .col-md-6 -->


						<!-- .col-md-6 -->

					</div>
					<!-- .row -->
					<!-- End Material Design -->

			</div>
			<!-- End Page Content -->

			</main>

		</div>
		<!-- .app-layout-container -->
		</div>
		<!-- .app-layout-canvas -->

		<!-- Apps Modal -->
		<!-- Opens from the button in the header -->
		<div id="apps-modal" class="modal fade" tabindex="-1" role="dialog">
			<div class="modal-sm modal-dialog modal-dialog-top">
				<div class="modal-content">
					<!-- Apps card -->
					<div class="card m-b-0">
						<div class="card-header bg-app bg-inverse">
							<h4>Apps</h4>
							<ul class="card-actions">
								<li>
									<button data-dismiss="modal" type="button"><i class="ion-close"></i></button>
								</li>
							</ul>
						</div>
						<div class="card-block">
							<div class="row text-center">
								<div class="col-xs-6">
									<a class="card card-block m-b-0 bg-app-secondary bg-inverse" href="index.html">
										<i class="ion-speedometer fa-4x"></i>
										<p>Admin</p>
									</a>
								</div>
								<div class="col-xs-6">
									<a class="card card-block m-b-0 bg-app-tertiary bg-inverse" href="frontend_home.html">
										<i class="ion-laptop fa-4x"></i>
										<p>Frontend</p>
									</a>
								</div>
							</div>
						</div>
						<!-- .card-block -->
					</div>
					<!-- End Apps card -->
				</div>
			</div>
		</div>
		<!-- End Apps Modal -->

		<div class="app-ui-mask-modal"></div>

		<!-- AppUI Core JS: jQuery, Bootstrap, slimScroll, scrollLock and App.js -->
		<script src="assets/js/core/jquery.min.js"></script>
		<script src="assets/js/core/bootstrap.min.js"></script>
		<script src="assets/js/core/jquery.slimscroll.min.js"></script>
		<script src="assets/js/core/jquery.scrollLock.min.js"></script>
		<script src="assets/js/core/jquery.placeholder.min.js"></script>
		<script src="assets/js/app.js"></script>
		<script src="assets/js/app-custom.js"></script>

	</body>

</html>
